Skip to content

cluster: report EADDRINUSE when a worker listens twice on the same port - #65020

Draft
islandryu wants to merge 1 commit into
nodejs:mainfrom
islandryu:worktree-cluster-eaddrinuse-64869
Draft

cluster: report EADDRINUSE when a worker listens twice on the same port#65020
islandryu wants to merge 1 commit into
nodejs:mainfrom
islandryu:worktree-cluster-eaddrinuse-64869

Conversation

@islandryu

@islandryu islandryu commented Aug 4, 2026

Copy link
Copy Markdown
Member

Fixes: #64869

Prevent an assertion error in child.js when a worker attempts to listen twice on the same port by detecting duplicate handle registrations in the primary process.

@nodejs-github-bot nodejs-github-bot added cluster Issues and PRs related to the cluster subsystem. needs-ci PRs that need a full CI run. labels Aug 4, 2026
Fixes: nodejs#64869
Signed-off-by: islandryu <shimaryuhei@gmail.com>
@islandryu
islandryu force-pushed the worktree-cluster-eaddrinuse-64869 branch from bd5c12f to ed8f6a3 Compare August 7, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cluster Issues and PRs related to the cluster subsystem. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cluster: ERR_INTERNAL_ASSERTION when a worker listens twice on the same host:port (Windows, regression from #60141)

2 participants